<include file="Inc/header" />
<div id="body-wrapper">
    <!-- Wrapper for the radial gradient background -->
    <div id="sidebar">
        <include file="Inc/left" />
    </div>
    <!-- End #sidebar -->
    <div id="main-content">

        <!-- Page Head -->
        <h2>{$page_title}学生信息</h2>
        <div class="content-box">

            <form action="{:U('Home/User/update',array('id'=>$user_list['id']))}" method="post">
                <table>
                    <tr><td width="200">姓名</td><td><input type="text" name="name" value="{$user_list['name']}"  <if condition="$user_list['name'] neq '' ">readonly</if>/></td></tr>
                    <tr><td>身份证号</td><td><input type="text" name="ID_number" value="{$user_list['id_number']}" /></td></tr>
                    <tr><td>学籍号</td><td><input type="text" name="XJ_number" value="{$user_list['xj_number']}" /></td></tr>
                    <tr><td>性别</td><td>
                        <select name="sex">
                            <option value="男" <if condition="$user_list['sex'] eq '男' "> selected='selected'</if>>男</option>
                            <option value="女" <if condition="$user_list['sex'] eq '女' "> selected='selected'</if>>女</option>
                        </select>
                    </td></tr>
                    <tr><td>是否建档立卡贫困户</td><td>
                        <select name="poor">
                            <option value="1" <if condition="$user_list['poor'] eq '1' "> selected='selected'</if>>是</option>
                            <option value="0" <if condition="$user_list['poor'] eq '0' "> selected='selected'</if>>否</option>
                        </select>
                    </td></tr>
                    <tr><td>班级</td><td>
                        <select name="class">
                            <volist name="sh_class_array" id="class">
                                <option value="{$class['id']}" <if condition="$class['id'] eq $user_list['class'] "> selected='selected'</if>>{$class['name']}</option>
                            </volist>
                        </select>
                    </td></tr>
                    <tr><td>年级</td><td>
                        <select name="grade">
                            <volist name="sh_grade_array" id="grade">
                                <option value="{$grade['id']}" <if condition="$grade['id'] eq $user_list['grade'] "> selected='selected'</if>>{$grade['name']}</option>
                            </volist>
                        </select>
                    </td></tr>
                    <tr><td>籍贯(省县)</td><td><input type="text" name="jiguan" <if condition="$user_list['jiguan'] neq ''"> value="{$user_list['jiguan']}" <else /> value="陕西商州"  </if>/>如：陕西商州</td></tr>
                    <tr><td>(镇)</td><td><input type="text" name="town" <if condition="$user_list['town'] neq ''"> value="{$user_list['town']}" <else /> value="杨峪河镇"  </if> />如：杨峪河镇</td></tr>
                    <tr><td>住址</td><td><input type="text" name="address" value="{$user_list['address']}" /></td></tr>
                    <tr><td>父亲</td><td><input type="text" name="father_name" value="{$user_list['father_name']}" /></td></tr>
                    <tr><td>父亲身份证号</td><td><input type="text" name="father_ID_number" value="{$user_list['father_id_number']}" /></td></tr>
                    <tr><td>父亲电话</td><td><input type="text" name="father_tel" value="{$user_list['father_tel']}" /></td></tr>
                    <tr><td>母亲</td><td><input type="text" name="mother_name" value="{$user_list['mother_name']}" /></td></tr>
                    <tr><td>母亲身份证号</td><td><input type="text" name="mother_ID_number" value="{$user_list['mother_id_number']}" /></td></tr>
                    <tr><td>母亲电话</td><td><input type="text" name="mother_tel" value="{$user_list['mother_tel']}" /></td></tr>
                    <if condition="$Think.ACTION_NAME==baoming">
                    <tr><td>信息备注</td><td>
                        <input type="hidden" name="action" value="baoming" />
                       <textarea name="memo" cols="30" rows="4" placeholder="这里可以键入任何的备注信息，没有可以留空！"></textarea>
                    </td></tr>

                    </if>
                    <tr><td cols="5"></td><td><input type="submit" name="update" value="提交"/></td></tr>


                </table>
            </form>
        </div>

        <include file="Inc/footer" />